local logger = {}

function logger.new()
    return setmetatable({}, {__index = logger})
end

function logger:info(...)
    ngx.log(ngx.INFO, ...)
end

function logger:debug(...)
    ngx.log(ngx.DEBUG, ...)
end

function logger:error(...)
    ngx.log(ngx.ERR, ...)
end

return logger
